package com.xinpu.service.impl;

import com.xinpu.dto.CompanyUserDto;
import com.xinpu.mapper.CompanyUserMapper;
import com.xinpu.service.CompanyUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * CompanyUserServiceImpl
 *
 * @author ayuan
 * @date 2021/5/24
 */
@Service
public class CompanyUserServiceImpl implements CompanyUserService {

    @Autowired
    private CompanyUserMapper companyUserMapper;


    /**
     * 企业后台管理员列表
     *
     * @return
     */
    @Override
    public List<CompanyUserDto> getList() {
        return companyUserMapper.getList();
    }
}
